package com.example.s06blog.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @auther Qiang
 * @date 2022/4/1 16:42
 */

@TableName(value="blog")
@Data
public class Blog {
    @TableId(value = "id",type = IdType.AUTO)
    Long id;
    @TableField(value="title")
    String title;
    @TableField(value="content")
    String content;
    @TableField(value="user_id")
    Long userId;
    @TableField(value="remark")
    String remark;
    @TableField(value="gmt_create")
    Date gmtCreate;
    @TableField(value="gmt_modified")
    Date gmtModified;
}
